﻿using System;

using Bpms.Entity;

namespace Bpms.BpmsFacade
{
    /// <summary>
    /// 用户操作公共接口
    /// </summary>
    public interface IUserFacade
    {
        bool InsertUser(UserInfo user);
        bool UpdateUser(UserInfo user);
        bool DeleteUser(int userId);
        bool InsertOrganization(OrganizationInfo organization);
        bool UpdateOrganization(OrganizationInfo organization);
        bool DeleteOrganization(int organizationId);
        bool InsertJobTitle(JobTitleInfo jobTitle);
        bool UpdateJobTitle(JobTitleInfo jobTitle);
        bool DeleteJobTitle(int jobTitleId);
    }
}
